import request from '@/utils/request'

//
export function getAllLocations() {
    return request({
      url: '/info/car/alllocations',
      method: 'get'
    })
//
}

export function getList(query) {
  return request({
    url: '/info/car/location?deviceNo='+query,
    method: 'get'
  })
//
}
export function getNo(data) {
  return request({
    url: '/info/car/locus',
    method: 'post',
    data: data
  })
}
